package com.zxjbyte.yiyi.module.system.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zxjbyte.yiyi.framework.mybatis.base.BasePO;
import lombok.Data;

/**
 * @Author zhangxingjia
 * @Date 2023/6/20 14:02
 * @Version: 1.0
 */
@Data
@TableName(value = "sys_oss_file")
public class OssFilePO extends BasePO {

    private static final long serialVersionUID = 7856677966922762067L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    // 文件路径
    @TableField("path")
    private String path;

    // 文件内容
    @TableField("content")
    private byte[] content;
}
